package zhcms.framework;

public class ActionForward {
	private String forwardPath;
	private boolean isRedirect;
	private int isRedirectHistory=1;
	private int ReIsOk=1;
	
 private String Tishi;
	
	public ActionForward(String forwardPath,boolean isRedirect)
	{
		//编码
		super();
		this.forwardPath =forwardPath;
		this.isRedirect =isRedirect;
	}
	
	public ActionForward(String forwardPath,int ReIsOk)
	{
		//编码
		super();
		this.forwardPath =forwardPath;
		this.ReIsOk =ReIsOk;
	}
	
	public ActionForward(String forwardPath,int ReIsOk,String itishi)
	{
		//编码
		super();
		this.forwardPath =forwardPath;
		this.ReIsOk =ReIsOk;
		this.Tishi =itishi;
		this.isRedirectHistory=1;
	}
	
	public ActionForward(String forwardPath,int ReIsOk,String itishi,int iisRedirectHistory)
	{
		//编码
		super();
		this.forwardPath =forwardPath;
		this.ReIsOk =ReIsOk;
		this.Tishi =itishi;
		this.isRedirectHistory=iisRedirectHistory;
	}
	
	public ActionForward()
	{
		
	}
	
	public int getRedirectHistory(){
		return this.isRedirectHistory;
	}
	
	public String getTishi(){
		return this.Tishi;
	}
	
	public String getForwardPath(){
		return forwardPath;
	}
	
	public void setForwardPath(String forwardPath){
		this.forwardPath=forwardPath;
	}
	
	public boolean isRedirect(){
		return isRedirect;
	}
	
	public void setRedirect(boolean isRedirect){
		this.isRedirect=isRedirect;
	}
	
	public void setReIsOk(int ReIsOk)
	{
		this.ReIsOk=ReIsOk;
	}
	
	public int ReIsOk(){
		return ReIsOk;
	}
}
